package com.ml.mall.service.deduct;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ml.mall.bean.base.ApiRestResult;
import com.ml.mall.bean.req.deduct.DeductEditDto;
import com.ml.mall.entity.deduct.SysADeduct;

import java.math.BigDecimal;

public interface SysADeductService extends IService<SysADeduct>{

    /**
     * 查询当前的
     * @param
     * @return com.ml.mall.entity.deduct.SysADeduct
     * @author Daizh
     * @date 2021/8/4 17:41
     */
    SysADeduct selectCurDeduct();

    /**
     * @description    :处理提成费率
     * @author         :zxm
     * @date           :2021/5/19
    **/
    ApiRestResult handleDeduct(DeductEditDto dto);

    /**
     * @description: 获取当前处理费
     * @author kyyang
     * @date 2021/5/26 23:14
     * @version 1.0
     */
    SysADeduct getCurDeduct();


}
